home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
726-750
/
744
/
statistics
/
statistics1.26.doc
< prev
next >
Wrap
Text File
|
1995-03-18
|
5KB
|
146 lines
At first
--------
This program is freeware and all copyrights belong to the author.
The program cannot be used for commercial purposes without written permission
from the author.
If you have suggestions or remarks about this program, or if you find
any bugs, please let me know.
My adress:
Nico Max
Gerüstbauerring 15
O-2520 Rostock 27
Germany
The program uses the requester library, copyright (c)1989, 1990 by Colin Fox
and Bruce Dawson. This library is freeware.
---------------------------------------------------------------------------
The reason to write Statistics was, that I nowhere have found a program,
wich can give any statistical informations about an ASCII-text. So I had to
program this one myself.
Which informations can Statistics give out?
The number of: -letters,
- words and
- sentences
with a seperate addition of:
- normal,
- interrogative and
- affirmative clauses.
The number of: - lines,
- breaks and
- pages, with 65 lines per page.
Also Statistics calculates the average number of letters per word and the
average number of words per sencence for the whole text.
Any questions for using Statistics? It`s all no problem! The usage is as
easy as imaginable.
To start it, you have two ways:
at first via CLI:
There you can easiely write "Statistics" or "run Statistics" to start it,
but make sure, that "run" is on your bootdisk.
via workbench:
A doubleclick on the right icon will start Statistics.
note: Statistics does`nt check, if you have started it using shift and
doubleckick on the icon of an ASCII-Text.
After starting, the program opens a screen, where you have 5 gadgets for
using.
load file
*********
With the filerequester you can now select each file you want to check.
If no errormessage appeara on the screen, Statistics loads the chosen file.
Before loading, three errors are possible to coming up:
- Not enough memory available.
If this errormessage is coming up, the selected file is to
large for loading and enough memory is`nt available.
- Error while opening file!
The program could`nt open the selected file. This can
happen, if the file for example does not exist.
- Error while reading file!
This can happen, if there is for example an read-write-error
on your disk.
Statistics does`nt check the file for being an ASCII-Text. So you can loading
executeables, but then the results of checking don`t make any sense.
check file
**********
After loading, this should be the next gadget for you to chose. Here
Statistics writes on the screen all calculated informations. While working, a
controlwindow shows you the working status.
word statistic
**************
These function works only then correct, if you at least have chosen once the
"check file" button.
Statistics adds all words with the same number of letters together. Words
with more than 19 letters will add together without any further separation.
"word Statistic" shows you the results of these calculation.
about
*****
A little information to statistics
quit
****
If you want to leave the program, a push on "quit" is enough.
Some words to the Checking-algorithm:
For Statistics letters are: - all from a to z,
- A to Z and
- ä,ö,ü,Ä,Ö,ß
Statistics checks words like these: - hello
- Baker&Co
- asm-one_v1.01
- 24.12.
- 13th
- does'nt
and of course divided words.
At least a note: I can`t give a guarantee, that Statistics works under
Kickstart 2.0. Up to now I don`t had the chance to test it
under Kick 2.0. Should you have any trouble running
Statistics, please write to me with the full specifications
of your machine, that is KickStart version, model etc...
For some tips to programming I'm always grateful.
(especially how to detach from the CLI, I don't know.)
***********************************************************************
Program history:
Statistics 1.0 - req.library support
- normal CON-window
Ver. 1.26 - customscreen
- gadgets
- work-controlwindow
- better algorithm for the wordstatistic function
- some bugs fixed
Statistics 1.26 written by Nico Max, using the ASM-One Assembler
special greetings to Daniel, Birger and Buggs.
(c) 1992 Thanks to Amiga for being the best computer ever!